package ltd.hxya.novel.book.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ltd.hxya.novel.entity.rowdata.WordAnalysis;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 根据相关的词语分析小说分类 Mapper 接口
 * </p>
 *
 * @author hty
 * @since 2022-11-08
 */
@Mapper
public interface WordAnalysisMapper extends BaseMapper<WordAnalysis> {

    @Select("select category  from word_analysis where category !='通用' group by category ;")
    List<String> getCategory();


}
